package com.home.school.service;

import com.home.school.bean.TUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.home.school.vo.UserListVO;
import com.home.school.vo.UserModifyPwd;
import com.home.school.vo.UserModifyVO;
import com.home.school.vo.UserVO;
import com.home.school.model.R;

public interface TUserService extends IService<TUser>{

    /**
     * 用户登录
     * @param userVO
     * @return
     */
    R login(UserVO userVO);

    /**
     * 用户修改
     * @param userVO
     * @return
     */
    R modify(UserModifyVO userVO);

    /**
     * 分页查询
     * @param userListVO
     * @return
     */
    R pageList(UserListVO userListVO);

    void resetPwd(UserModifyPwd userVO);
}
